package de.gwtprime.shared;

import java.io.Serializable;

public class MyVideoEntry implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public MyVideoEntry(){
		
	}
	public MyVideoEntry(String id){
		String[] arr = id.split(":");
		if(arr.length>0){
			
			this.setId(arr[arr.length-1]);
		}else{
			//TODO error handling
		}
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	private String id;
}
